package com.mifengs.mall.ui.web;

import android.app.Activity;

import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;
import com.mifengs.mall.entity.JsCallAppFunction;
import com.mifengs.mall.widget.MyWebView;

/**
 * Created by lihaoqi on 2017/11/28.
 */

public interface WebFrgContract {

    interface View extends BaseView {
        Activity getActivity();
        MyWebView getWebView();
        void setIsRealTabPage(boolean isRealTabPage);
        void setSwipeEnableTrue();
        void isBackToFinish(boolean isbackToFinish);
        void goBackWithdrawal(String predepositUrl ,String withdrawalUrl);
        void getContactsInfo();
        String contactsInfo();
        void getJsCallAppFunction(JsCallAppFunction jsCallAppFunction);
        void getLocation(int isReturn);
    }

    interface Presenter extends BasePresenter {
        void loadJs();
        void loadJsToSetTitle();
        boolean handleOperation(String url);
        void payClose();
        void saveContactsInfo();
        void logout();
    }

}
